package com.zelix;

import java.util.Vector;

public class uk extends qk
{

    private boolean i;

    public uk(int i1)
    {
        super(i1);
    }

    double i() {
        double d;
        d = 1.0D;
        mh mh1 = (mh) a(0);
        if ((mh1 instanceof fl)) {
            Vector vector = ((fl) mh1).i();
            if (vector.size() > 0) {
                if (il.l((String) vector.elementAt(vector.size() - 1))) {
                    if (vector.size() > 1) {
                        d *= 0.25D;
                    }
                } else {
                    d *= 0.10000000000000001D;
                }
            }
        }
        return d;
    }

    public Vector j()
    {
        mh mh1 = (mh)a(0);
        if(mh1 instanceof fl)
            return ((fl)mh1).i();
        else
            return new Vector();
    }

    public String a()
    {
        return ((mh)a(0)).a() + (i ? "^" : "");
    }

    public void a(uh uh1, nh nh)
    {
        a(0).a(this, nh);
        if(uh1 instanceof il)
            ((il)uh1).a(this);
    }

    boolean k()
    {
        return i;
    }

    boolean l()
    {
        return i;
    }

    public void m()
    {
        i = true;
    }
}